package com.finance.system.accountbook.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class CashRecordOutbound {

    private Long id;
    private Long userId;

    @ApiModelProperty(value = "支出金额")
    private BigDecimal amount;

    private LocalDateTime createAt;

    private String remark;

    @ApiModelProperty(value = "删除标记")
    private Integer deleteFlag;

    @ApiModelProperty(value = "消费日期")
    private LocalDateTime consumeAt;

    @ApiModelProperty(value = "消费类型")
    private String consumeType;

    @ApiModelProperty(value = "结算标志")
    private Integer closeFlag;

    @ApiModelProperty(value = "所属账本id")
    private Integer groupId;

    @ApiModelProperty(value = "参与人的id,用逗号分割")
    private String participant;

    private String createName;

    private String createPhone;

}
